package tgc.edu.yzy.repository;

import java.util.List;

import org.springframework.stereotype.Repository;

import tgc.edu.yzy.custom.CommonRepository;
import tgc.edu.yzy.entity.Dapa;
import tgc.edu.yzy.entity.User;
@Repository
public interface UserRepository extends CommonRepository<User, Integer>{

	public User findByUsername(String username);

	public List<User> findByDapa(Dapa dapa);

	public List<User> findByDapaId(Integer id);

}
